package com.cj.demo6.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
//有参无参构造器
@NoArgsConstructor
@AllArgsConstructor
public class Order_form {
    @ApiModelProperty("用户编号")
    private Integer uId;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("订单编号")
    private Integer dId;

    @ApiModelProperty("订单信息")
    private String dMessage;

    @ApiModelProperty("订单备注")
    private String dRemark;

    @ApiModelProperty("插入时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String insertTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;
}
